<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14"></script>
    <style>
        .outer{
            width: 600px;
            height: 1200px;
            background-color: #bfa;
        }
        .item{
            width: 50px;
            height: 50px;
            background-color: red;
            animation: test 1s linear;
        }

        @keyframes test {
            0%{
                transform: scale(1,1);
            }
            100%{transform: scale(0.5,0.5);}
        }
        .clear{
            transform: none !important;
        }
    </style>
</head>

<body>
    <div class="outer">
        <div class="item1 item clear"  ref='a1'></div>
        <div class="item2 item clear"  ref='a2'></div>
        <div class="item3 item clear"  ref='a3'></div>
        <div class="item4 item clear"  ref='a4'></div>
        <div class="item5 item clear"  ref='a5'></div>
        <div class="item6 item clear"  ref='a6'></div>
    </div>
    <script>
        new Vue({
            el:'.outer',
            data:{

            },
            metheds:{

            },
            mounted(){
                ['a1','a2','a3','a4','a5','a6']
            }
        })
    </script>
</body>
</html>